/**
 * 掉落盒子脚本，实现盒子碰撞及回收流程
 */
export default class Box extends Laya.Script {
    /** @prop {name:id,tips:"水果ID",type:number} */
    boxId:String;

    /** @prop {name:url,tips:"水果资源url",type:String,accept:res}*/
    url:any;

    constructor() { super(); }

    onEnable(): void {
    }

    onUpdate(): void {
       
    }

    onTriggerEnter(other: any, self: any, contact: any): void {
        
    }


    onDisable(): void {
    }
}